package com.second.order.service.Impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.second.common.pojo.Teacher;
import com.second.order.dao.TeacherDao;
import com.second.order.service.TeacherService;
import org.springframework.stereotype.Service;
import org.springframework.util.StringUtils;

import javax.annotation.Resource;

/**
 * @program: second
 * @description:
 * @author: 胡萌
 * @create: 2023-05-27 14:13
 **/
@Service
public class TeacherServiceImpl implements TeacherService {

    @Resource
    private TeacherDao teacherDao;

    @Override
    public Teacher queryAllTeacherBYTeacherName(String teacherName) {

        Teacher teacher = teacherDao.selectByName(teacherName);

        return teacher;
    }
}
